package com.example.mapper;
import com.example.pojo.VehicleRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.vo.ResultVo;
import io.swagger.annotations.Api;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 车辆使用记录表 Mapper 接口
 * </p>
 *
 * @author wsl
 * @since 2022-05-19
 */
@Mapper
@Repository
public interface VehicleRecordMapper extends BaseMapper<VehicleRecord> {
    //查询申请车辆通过批准的信息
    List<VehicleRecord> queryVehicleRecordStatus(String empName);
//    //修改开始使用时间和归还时间
    int updateVehicleRecord(VehicleRecord vehicleRecord);

}
